package com.qiche.dto;

import lombok.Data;

import java.util.Date;

/**
 * @Author: Linzewen
 * @Date: 2018/7/18 0018 09:47
 */
@Data
public class Voucher1Dto {
    private Integer id;
    private String title;
    private  String code;
    private  Integer agentId;
    private  Integer merchantId;
    private  Integer storeMemberId;
    private  Integer indefinite;
    private Double amount;
    private Date dueTime;
    private Integer isWriteoff;
    private Date writeOffTime;
    private Date createTime;
    private Date updateTime;

    private String merchantName;

    public boolean isVerify() {
        return "1".equals(isWriteoff);
    }
}
